<template>
	<view class="page">
		<view class="show-box">
			<view class="content">{{ ruleText }}</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				ruleText: ''
			}
		},
		onLoad() {
			uni.showLoading()
			this.init()
		},
		methods: {
			init() {
				let self = this;
				this.$api.post({
					url: '/wanlshop/user/getDeductionRules',
					success: res => {
						uni.hideLoading()
						self.ruleText = res
					}
				})
			}
		}
	}
</script>

<style scoped>
.page {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: #FFFFFF !important;
	overflow-y: scroll;
}
.show-box {
	padding: 37rpx 40rpx;
	width: 100%;
	box-sizing: border-box;
}
.title {
	font-size: 34rpx;
	font-weight: bold;
	color: #333333;
	margin-bottom: 60rpx;
	text-align: center;
}
</style>
